﻿using OPSYS_Schematic.UIInfrastructure;

namespace OPSYS_Schematic.Presentation.Parts
{
    [ToolBarPart(BaseToolBar = WorkbenchName.MainToolBarPart)]
    [MenuPart(BaseMenu = WorkbenchName.EditPart)]
    public class UndoPart : MenuToolPart
    {
        public UndoPart()
            : base(WorkbenchName.UndoPart)
        {
            Icon = "Resources/Images/Undo.png";
            InputGestureText = "Ctrl+Z";
        }
    }
}